<template>

</template>

<script setup lang="ts" name="wxLogin">
    import {useRoute} from "vue-router";
    import {useRouter} from "vue-router";
    import useUserStore from "@/store/modules/user";
    let userStore = useUserStore();
    let $router = useRouter();
    // 获取用户信息
    let $route = useRoute();
    // 持久化存储用户信息
    localStorage.setItem("USERINFO", JSON.stringify($route.query))
    userStore.queryState()
    $router.push('/home')
</script>


<style scoped>

</style>